﻿
@{
    ViewBag.Title = "房间列表";
    Layout = "~/Views/Shared/_MyLayout.cshtml";
}

@section head{

    <link rel="stylesheet" type="text/css" href="~/Content/WxPage.css?d=@DateTime.Now" />
    <link rel="stylesheet" type="text/css" href="~/Scripts/DateJS/date/css/index.css" />
    @Scripts.Render("~/bundles/jquery")
    <script src="~/Scripts/DateJS/date/js/date.js"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <link rel="stylesheet" href="~/Content/owl-carousel/owl.carousel.css" />
    <link rel="stylesheet" href="~/Content/owl-carousel/owl.theme.css" />
    <script src="~/Content/owl-carousel/owl.carousel.js"></script>
    @*@ViewBag.HotelID;*@


}
@{
    //把当前页面的值带给微信服务函数，算出各种令牌和签名，供微信JSAPI
    var otherController = DependencyResolver.Current.GetService<WuYuHotel.Controllers.WxRequestController>();
    Dictionary<string, object> map = otherController.wxPageConfig(Request.Url.ToString());


}



<div id="owl-demo" style="height:170px;width:100%;margin:0 auto;" class="owl-carousel">
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/1.jpg" alt="Lazy Owl Image" /></div>
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/2.jpg" alt="Lazy Owl Image" /></div>
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/3.jpg" alt="Lazy Owl Image" /></div>
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/4.jpg" alt="Lazy Owl Image" /></div>
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/5.jpg" alt="Lazy Owl Image" /></div>
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/6.jpg" alt="Lazy Owl Image" /></div>
    <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/月光城/7.jpg" alt="Lazy Owl Image" /></div>
</div>
<div style="height:30px">
    <div style="width:100%;font-family:'Microsoft YaHei','微软雅黑'; text-align:center;font-size:16px;height:30px;line-height:30px;background-color:rgb(231,225,205);">无&nbsp;隅&nbsp;酒&nbsp;店&nbsp;—&nbsp;@ViewBag.HotelName</div>
    @*<div style="float:left;width:40%;font-weight:bold;text-align:right">评分 4.9</div>*@
    @*<div class="trapezoid-2">
            <div style="font-weight:bold;text-align:right;padding-top:10px;padding-right:10px;">评分 4.9</div>
        </div>*@
</div>
<div style="height:100px;vertical-align:middle;display:table-cell;background-color:rgb(255,255,245);">
    <img src="~/Content/IMG/ygclocation.jpg" style="display:block;float:left;height:100px;width:77%;" onclick="getLocation()" />
    <a href="tel:18996221896">
        <img src="~/Content/IMG/04.电话订房.png" style="display:block;float:left;width:22%;margin-top:25px;" />
    </a>
</div>

<!-- 入住时间选择 -->
<div class="row select-time" style="background-color:rgb(231,225,205)">
    <div style="padding-left:10%;width:70%; float:left;height:60px;">
        <p style="margin-bottom:0px;line-height:30px;"><span class="time entertime"></span><span>&nbsp;&nbsp;入住</span></p>
        <p style="margin-bottom:0px;line-height:30px;"><span class="time leavetime"></span><span>&nbsp;&nbsp;离店</span></p>
    </div>
    <div style="width:30%;float:left;height:60px;">
        <span class="time night" style="line-height:60px;">共1晚</span>
    </div>
    @*<input type="text" class="input-enter none">*@

    @*<span class="c-back">一</span>*@
    @*<span class="time leavetime"></span>*@
    @*<input type="text" class="input-leave none">*@


</div>
<script type="text/javascript">
    var hotelId =@ViewBag.List[0]["hotelId"].ToString();

    $('.select-time').hotelDate("RoomList");

    $(".entertime").text("@ViewBag.EnterTime.ToString()" + " (星期" + "日一二三四五六".charAt(new Date("@ViewBag.EnterTime.ToString()").getDay()) + ")");
    $(".leavetime").text("@ViewBag.LeaveTime.ToString()" + " (星期" + "日一二三四五六".charAt(new Date("@ViewBag.LeaveTime.ToString()").getDay()) + ")");
    $(".night").text("共 " +@ViewBag.NightNum.ToString()+"  晚");

    function SelectRoomListTime(enterTime,leaveTime) {
        var result = $("#scriptTimeLine").html();
        $(result).appendTo("body");
        $("#selETime").val(enterTime);
        $("#selLTime").val(leaveTime);
        $("#selHotelId").val(hotelId);
        $("#selTimeLine").submit().remove();


    }

</script>

<script type="text/template" id="scriptTimeLine">
    <form action="/WxPage/RoomList" method="post" id="selTimeLine">
        <input type="hidden" name="formETime" value="" id="selETime" />
        <input type="hidden" name="formLTime" value="" id="selLTime" />
        <input type="hidden" name="hotelId" value="" id="selHotelId" />
    </form>
</script>
<div style="width:100%;">
    <img src="~/Content/IMG/YGC/title.png" style="width:100%;" />
</div>

@{
    //直接把List转成RoomList
    List<Dictionary<string, object>> RoomList = ViewBag.List;
}


@* 房型 高级榻榻米大床房 roomTypeId=2125   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2125")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2125"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/高级榻榻米大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级榻榻米大床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级榻榻米大床房/2.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />7层-8层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />25平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.6米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}



@* 房型 高级大床房 roomTypeId=2126   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2126")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2126"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/高级大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级大床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级大床房/2.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级大床房/3.jpg" alt="Lazy Owl Image" /></div>


            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />6层-8层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />35平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}


@* 房型 高级双床房 roomTypeId=2127   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2127")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2127"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/高级双床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级双床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/高级双床房/2.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />5层-8层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />27平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.2米*2张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}


@* 房型 精品大床房 roomTypeId=2128   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2128")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2128"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/精品大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">

                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品大床房/1.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />5-8层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />25平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}




@* 房型 精品双床房 roomTypeId=2129   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2129")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2129"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/精品双床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">

                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品双床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品双床房/2.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />5层-8层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />29-36平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.2米*2张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}


@* 房型 豪华大床房 roomTypeId=2130   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2130")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2130"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/豪华大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华大床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华大床房/2.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华大床房/3.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华大床房/4.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />5层-7层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />33平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*2张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}



@* 房型 精品阳台大床房 roomTypeId=2138   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2138")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2138"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/精品阳台大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品阳台大床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品阳台大床房/2.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品阳台大床房/3.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品阳台大床房/4.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />6层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />38平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}








@* 房型 豪华行政大床 roomTypeId=2133   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2133")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2133"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/豪华行政大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政大床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政大床房/2.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政大床房/3.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />5层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />38-42平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}







@* 房型 豪华行政套房 roomTypeId=2134   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2134")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2134"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/豪华行政套房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/2.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/3.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/4.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/5.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/6.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/7.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/8.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/豪华行政套房/9.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />7层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />29-36平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}





@* 房型 精品行政大床 roomTypeId=2137   *@
@if (RoomList.Find(s => s["roomTypeId"].ToString().Equals("2137")) != null)
{
    //找到索引值
    int i = RoomList.FindIndex(s => s["roomTypeId"].ToString().Equals("2137"));

    <div class="RoomInfo">
        <div style="height:90px;float:left;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <img style="height:90px;width:120px;" src="~/Content/IMG/YGC/精品行政大床房/1.jpg" />
        </div>
        <div style="float:left;height:90px;width:200px;margin-left:10px;" onclick="ShowRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
            <!-- 房间名 -->
            <p style="margin:0px;margin-top:10px;">@ViewBag.List[i]["roomTypeName"].ToString() (含双早)</p>
            <!-- 房间价格 -->
            <p>RMB<span style="padding-left:5px;font-size:20px;">¥</span><span style="color:red;font-size:20px;"> @ViewBag.List[i]["Price"].ToString()</span></p>
            <!-- 房间描述 -->
            <p>有窗，双早</p>
        </div>

        @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())'>
                <img style="width:100%;height:100%;" src="~/Content/IMG/YGC/04.yuding.png" />
            </div>
        }
        else
        {
            <div style="position:absolute;right:5px;bottom:20px;height:30px;width:70px;background-color:transparent;">
                <img style="width:100%;height:100%;" src="~/Content/IMG/04.manfang.png" />
            </div>
        }
        <div style="clear:both;"></div>
    </div>


    @*以下DIV是房间详情介绍，点击左边图画生成*@
    <div id="RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="display:none;position:fixed;z-index:5;top:0;bottom:0;left:0;height:100%;width:100%;background-color:rgba(222, 204, 204,0.4);overflow:scroll;">
        <div style="height:auto;overflow:scroll;background-color:white;width:100%;position:relative;top:0px;width:100%;">
            <div style="height:30px;" onclick="DelRoomDetail('RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()')">
                <img src="~/Content/IMG/ToRight.png" style="transform:scaleX(-1);height:20px;margin-top:-6px;" /><span style="line-height:30px;vertical-align:central;font-size:18px;">返回</span>
            </div>
            <div id="owl_RoomDetailPad_@ViewBag.List[i]["roomTypeId"].ToString()" style="clear:both;height:185px;width:100%;margin:0 auto;" class="owl-carousel">
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品行政大床房/1.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品行政大床房/2.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品行政大床房/3.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品行政大床房/4.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品行政大床房/5.jpg" alt="Lazy Owl Image" /></div>
                <div class="item"><img class="lazyOwl" data-src="/Content/IMG/YGC/精品行政大床房/6.jpg" alt="Lazy Owl Image" /></div>

            </div>
            <div class="roomdetailpadname">
                <p>@ViewBag.List[i]["roomTypeName"].ToString()<span style="font-size:10px;margin-left:20px;font-weight:normal;">含双早</span> </p>
                <p style="float:right;font-weight:normal;">今日超值价<img style="height:20px;margin-bottom:10px;margin-left:3px;" src="~/Content/IMG/YGC/05.dianzhan.png" /></p>
            </div>
            <div class="roomdetailpadcontent1">
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.zaochan.png" />有早餐
                    @*<img style="height:20px;margin-right:8px;" src="~/Content/IMG/SPB/05.花园.沙.png" />有花园*@
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.youchuang.png" />有超大落地窗、自然新风系统
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.楼层.png" />5层-7层（普通楼层）
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.面积.png" />31-41平米
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.床.png" />1.8米*1张
                    <img style="height:20px;margin-left:8px;margin-right:8px;" src="~/Content/IMG/YGC/05.人数.png" />可入住2人
                </p>
                <p>
                    <img style="height:20px;margin-right:8px;" src="~/Content/IMG/YGC/05.无线.png" />房间独立WIFI
                </p>
            </div>
            <div class="roomdetailpadcontent2">
                <div class="leftname">客房设施:</div>
                <div class="rightname">
                    空调、马桶、国内长途电话、可做无烟处理、雨伞、双人沙发、落地衣架、棉麻拖鞋、写字台（含台灯）
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">浴室:</div>
                <div class="rightname">
                    电热水器、室内卫生间、独立淋浴间、马油淋浴系列、免费一次性洗漱用品（超过6样）、电吹风、洗衣液
                    洗手液、备用衣架、晾衣绳
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">食品饮品:</div>
                <div class="rightname">
                    电热水壶、免费瓶装水、免费袋泡茶、茶具
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">媒体科技:</div>
                <div class="rightname">
                    电视、电话、蓝牙音箱
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">其他信息:</div>
                <div class="rightname">
                    收费停车场、会议区、休息大厅、免费迎宾茶、行李寄存、下午茶
                </div>
                <div style="clear:both;"></div>
            </div>
            <div class="roomdetailpadcontent3">
                <div class="leftname" style="font-size:16px;">预定须知</div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">在线支付:</div>
                <div class="rightname">
                    提交订单后支付房费，酒店第一时间接单
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">免费取消:</div>
                <div class="rightname">
                    订单提交后可随时变更或免费取消
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">加床:</div>
                <div class="rightname">
                    不可加床
                </div>
                <div style="clear:both;height:5px;"></div>
                <div class="leftname">会员卡:</div>
                <div class="rightname">
                    RMB188(全年享受6-7折门市价)购卡后享受超值会员价
                </div>
                <div style="clear:both;"></div>
            </div>
            @if (int.Parse(ViewBag.List[i]["available"].ToString()) > 0)
            {
                <div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/YGC/04.yuding.png" style="height:30px;margin-left:100px;" onclick='OrderRoom(@ViewBag.List[i]["roomTypeId"].ToString())' /></p>
                </div>

            }
            else
            {
                <div div class="roomdetailpadcontent3" style="border-bottom-style:none;">
                    <p style="margin-left:0px;">RMB<span style="padding-left:10px;font-size:20px;">¥</span><span style="color:red;font-size:20px;margin-right:5px;"> @ViewBag.List[i]["Price"].ToString()</span>起<img src="~/Content/IMG/04.manfang.png" style="height:30px;margin-left:100px;" /></p>
                </div>
            }
            <div style="clear:both;height:50px;"></div>
        </div>
    </div>


}




<script type="text/javascript">
    function ShowRoomDetail(roomtypeId) {
        $("#" + roomtypeId).css("display", "block");
        var owl1 = $("#owl_" + roomtypeId);
        owl1.owlCarousel({
            lazyLoad: true,
            autoPlay: 3000,
            navigation: false,
            singleItem: true,
            transitionStyle: "fade",
            paginationSpeed: 1000,
            slideSpeed: 800
        });
        //$("body").css("position", "fixed");
        //158NTUWY

    }
    function DelRoomDetail(roomtypeId) {
        $("#" + roomtypeId).css("display", "none");
        //$("body").css("position", "relative");
    }
</script>

<div style="clear:both;height:100px;"></div>


<div id="menu" class="Wx_BottomMenu">
    <div id="HomePage" class="subMenu" onclick="JavaScript:window.location.href='/WxPage/MainView'">
        <p style="display:table-cell;vertical-align:middle;margin:0px;font-family:'Microsoft YaHei','微软雅黑';font-size:16px;color:rgb(127,127,127);">首&nbsp;&nbsp;页</p>
    </div>
    <div id="Rent" class="subMenu" style="border-left-width:1px;width:34%;" onclick="JavaScript:window.location.href='/WxPage/Index'">
        <p style="display:table-cell;vertical-align:middle;margin:0px;font-family:'Microsoft YaHei','微软雅黑';font-size:16px;color:rgb(127,127,127);">预&nbsp;&nbsp;订</p>
    </div>
    <div id="Mine" class="subMenu" style="border-right-width:0px;border-left-width:1px;" onclick="JavaScript:window.location.href='/WxPage/Mine'">
        <p style="display:table-cell;vertical-align:middle;margin:0px;font-family:'Microsoft YaHei','微软雅黑';font-size:16px;color:rgb(127,127,127);">微&nbsp;&nbsp;信&nbsp;&nbsp;会&nbsp;&nbsp;员</p>
    </div>
</div>




<script type="text/javascript">
    //选择具体房型预定
    function OrderRoom(roomTypeId)
    {
        stopBubble(event);
        var ETime = "@ViewBag.EnterTime.ToString()";//$(".entertime").text();
        var LTime = "@ViewBag.LeaveTime.ToString()";//$(".leavetime").text();

        var result = $("#formtest").html();
        $(result).appendTo("body");
        $("#formETime").val(ETime);
        $("#formLTime").val(LTime);
        $("#roomTypeId").val(roomTypeId);
        $("#formHotelId").val(hotelId);
        $("#formTime").submit().remove();
    }

    function stopBubble(e) {
        if (e && e.stopPropagation)
            e.stopPropagation()
        else
            window.event.cancelBubble = true
    }

</script>
<script type="text/template" id="formtest">
    <form action="/WxPage/OrderRoom" method="post" id="formTime">
        <input type="hidden" name="formETime" value="" id="formETime" />
        <input type="hidden" name="formLTime" value="" id="formLTime" />
        <input type="hidden" name="roomTypeId" value="" id="roomTypeId" />
        <input type="hidden" name="HotelId" value="" id="formHotelId" />
    </form>
</script>

<script type="text/javascript">

    $(document).ready(function () {

        var owl = $("#owl-demo");
        owl.owlCarousel({
            lazyLoad: true,
            autoPlay: 3000,
            navigation: false,
            singleItem: true,
            transitionStyle: "fade",
            paginationSpeed: 1000,
            slideSpeed: 800
        });
        $(body).css("background-color", "rgb(255,255,245)");

    });


    wx.config({
        // 配置信息, 即使不正确也能使用 wx.ready
        debug: false,
        appId: '@map["appId"].ToString()',
        timestamp: @map["UNIXTime"].ToString(),
        nonceStr: '@map["noncestr"].ToString()',
        signature: '@map["signature"].ToString()',
        jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQZone','openLocation']
    });
    wx.ready(function () {
        //var srcList = [];
        //$.each($('body img'), function (i, item) {  //$('.info_detail .container img') 容器中的图片
        //    if (item.src) {
        //        srcList.push(item.src);
        //        $(item).click(function (e) {
        //            wx.previewImage({
        //                current: this.src,
        //                urls: srcList
        //            });
        //        });
        //    }
        //});

        wx.onMenuShareTimeline({
            title: '测试分享', // 分享标题
            link: 'http://15923051435.oicp.net/', // 分享链接
            imgUrl: '', // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数

            },
            cancel: function () {
                // 用户取消分享后执行的回调函数

            },
            fail: function () {

            }
        });
    });






    function getLocation() {

        //alert("进入打开函数");
        wx.openLocation({
            latitude: 29.665616, // 纬度，浮点数，范围为90 ~ -90
            longitude: 106.562786, // 经度，浮点数，范围为180 ~ -180。
            name: '无隅酒店.两江新区鸳鸯店', // 位置名
            address: '重庆两江新区金开大道1218号N37月光之城5幢', // 地址详情说明
            scale: 18, // 地图缩放级别,整形值,范围从1~28。默认为最大
            infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
        });
    }


</script>
